Microsoft DirectX 8.1 (C++)

CUnknown::CUnknown

Constructor method.

Syntax

CUnknown(
    const TCHAR *pName,
    LPUNKNOWN pUnk
);

Parameters

pName

String containing the name of the object; used in the CBaseObject constructor for debugging.

pUnk

Pointer to the owner of this object. If the object is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

Remarks

The object is initialized with a reference count of zero.

See Also